package com.action;

import com.man.BookCtrl;

public class AdminBookDelecteAction {
	private int 	bookId;

	public int getBookId() {
		return bookId;
	}

	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	
	public String execute() {
		BookCtrl bookCtrl=new BookCtrl();
		bookCtrl.deleteItem(bookId);
		bookCtrl.close();
		return "success";
	}
}
